lib/pull: Extend BAREUSERONLY_FILES flag to HTTP requests
authorColin Walters <walters@verbum.org>
Wed, 14 Jun 2017 21:55:11 +0000 (17:55 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Thu, 15 Jun 2017 07:10:22 +0000 (07:10 +0000)
commit9529e8d43579aaf6f6ebb90516385a89aaff34ff
treee9f97c35a57426a9ede4f935e55412753be8d194
parent0e6d23835baedc472d3967105ba1f0d9f25068a8
lib/pull: Extend BAREUSERONLY_FILES flag to HTTP requests

For the flatpak PR: https://github.com/flatpak/flatpak/pull/849

It's really more convenient if this works for HTTP pulls as well, since flatpak
does various types of pulling, and we can just set the flag everywhere.

Further, we might as well reject the content as early as possible.

Closes: #930
Approved by: alexlarsson
src/libostree/ostree-repo-pull.c
tests/pull-test.sh